package com.itheima.myException;

public class Demo3 {
    public static void main(String[] args) {
        int[] arr = new int[3];
        System.out.println(arr[0]);

        try {
            System.out.println(arr[2]);
            int i = 3 / 0;
        } catch (Exception e) {
            e.printStackTrace();
        }
        System.out.println("HelloWorld");
    }
}

